package beans;

import java.io.Serializable;

public class AlgorithmParam implements Serializable {
    private static final long serialVersionUID = 1039185476100091832L;
    private int id;
    private int paramId;
    private String paramSymbol;
    private String paramType;
    private String paramIntroduction;
    private String paramDefaultValue;
    private Boolean isNameDefault;

    public Boolean getNameDefault() {
        return isNameDefault;
    }

    public void setNameDefault(Boolean nameDefault) {
        isNameDefault = nameDefault;
    }

    public AlgorithmParam(String paramSymbol, String paramType, String paramIntroduction, Boolean isNameDefault) {
        this.paramSymbol = paramSymbol;
        this.paramType = paramType;
        this.paramIntroduction = paramIntroduction;
        this.isNameDefault = isNameDefault;
    }

    public AlgorithmParam(int algorithmId, String paramSymbol, String paramType, String paramIntroduction) {
        this.id = algorithmId;
        this.paramSymbol = paramSymbol;
        this.paramType = paramType;
        this.paramIntroduction = paramIntroduction;
    }

    public AlgorithmParam(int id, int paramId, String paramSymbol, String paramType, String paramIntroduction) {
        this.id = id;
        this.paramId = paramId;
        this.paramSymbol = paramSymbol;
        this.paramType = paramType;
        this.paramIntroduction = paramIntroduction;
    }

    public AlgorithmParam(int paramId, String paramSymbol, String paramType, String paramIntroduction, Boolean isNameDefault) {
        this.paramId = paramId;
        this.paramSymbol = paramSymbol;
        this.paramType = paramType;
        this.paramIntroduction = paramIntroduction;
        this.isNameDefault = isNameDefault;
    }

    public AlgorithmParam(String paramSymbol, String paramType, String paramIntroduction) {
        this.paramSymbol = paramSymbol;
        this.paramType = paramType;
        this.paramIntroduction = paramIntroduction;
    }

    public String getParamDefaultValue() {
        return paramDefaultValue;
    }

    public void setParamDefaultValue(String paramDefaultValue) {
        this.paramDefaultValue = paramDefaultValue;
    }

    public AlgorithmParam() {
    }

    @Override
    public String toString() {
        return "AlgorithmParam{" +
                "Id=" + id +
                ", paramSymbol='" + paramSymbol + '\'' +
                ", paramType='" + paramType + '\'' +
                ", paramIntroduction='" + paramIntroduction + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParamId() {
        return paramId;
    }

    public void setParamId(int paramId) {
        this.paramId = paramId;
    }

    public String getParamSymbol() {
        return paramSymbol;
    }

    public void setParamSymbol(String paramSymbol) {
        this.paramSymbol = paramSymbol;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamIntroduction() {
        return paramIntroduction;
    }

    public void setParamIntroduction(String paramIntroduction) {
        this.paramIntroduction = paramIntroduction;
    }
}
